// Felipe Hernandez Plazas - starting a simple game engine

// Include standard headers
#include <stdio.h>
#include <stdlib.h>
#include <SDL.h>
#include <gl\glew.h>
#include <SDL_opengl.h>
#include <SDL_image.h>
#include <gl\glu.h>

// Include GLM
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
using namespace glm;

#include <string>
#include <fstream>

//Include engine headers
#include <managers.h>

//Include shader headers
#include <shader.h>

MainManager* gMainManager;


int main(int argc, char* argv[])
{
	bool success = true;
	// Start up engine systems
	success = gMainManager->startUp();

	//Main loop flag
	bool quit = false;

	//Event handler
	SDL_Event e;

	//While application is running
	while( !quit )
	{
		//Handle events on queue
		while( SDL_PollEvent( &e ) != 0 )
		{
			//User requests quit
			if( e.type == SDL_QUIT )
			{
				quit = true;
			}
		}
	}

	return success;
}

